package com.zh.common.utils;

import com.zh.common.spring.SpringUtil;
import com.zh.system.domain.UserDO;
import com.zh.system.service.UserService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.runtime.ProcessInstance;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @ProjectName: activiti-demo6-springboot
 * @Package: com.yawn.util
 * @ClassName: NextTaskUtils
 * @Description: java类作用描述
 * @Author: lds
 * @CreateDate: 2019/4/24 0024 16:26
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/4/24 0024 16:26
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */

public class NextTaskUtils {
    private RuntimeService runtimeService=(RuntimeService) SpringUtil.getBean(RuntimeService.class);

    private UserService userService=(UserService) SpringUtil.getBean(UserService.class);

    /**
     * 设置任务的完成人
     * */
    public void setTaskAsignee(DelegateTask currTask) {


    }
}
